package com.imooc.code;

import com.imooc.security.core.validate.code.ImageCode;
import com.imooc.security.core.validate.code.ValidateCodeGenerator;
import org.springframework.stereotype.Component;

import javax.servlet.http.HttpServletRequest;

/**
 * @author Zqm
 * @Title: DemoImageCodeGenerate
 * @ProjectName imooc-security
 * @date 2018/12/20
 */
//@Component("imageCodeGenerator")
public class DemoImageCodeGenerate implements ValidateCodeGenerator {


    @Override
    public ImageCode generate(HttpServletRequest request) {
        System.out.println("手动配置图形验证码认证逻辑");
        return null;
    }
}
